package the.workshop.bu.service;

import org.wisteria.framework.web.mvc.service.ISuperService;
import the.workshop.bu.constant.CheckBizTypeEnum;
import the.workshop.bu.dto.MobileEmptyDTO;
import the.workshop.bu.dto.MobileNameDTO;
import the.workshop.bu.dto.MobileStatusDTO;
import the.workshop.bu.dto.ServiceResult;
import the.workshop.bu.entity.Check;

import java.util.Map;

public interface ICheckService extends ISuperService<Check> {
    ServiceResult<MobileEmptyDTO> checkMobileEmpty(CheckBizTypeEnum checkBizType, long bizId, String mobile, Map<String, Object> checkData);
    ServiceResult<MobileStatusDTO> checkMobileStatus(CheckBizTypeEnum checkBizType, long bizId, String mobile);
    ServiceResult<MobileNameDTO> checkMobileAndName(CheckBizTypeEnum checkBizType, long bizId, String mobile, String name, Map<String, Object> checkData);

}
